Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9bdde579
Commit
9bdde579
authored
Apr 24, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Github::Representation::Base#id
parent
2b7328c3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
lib/github/representation/base.rb
lib/github/representation/base.rb
+4
-0
lib/github/representation/repo.rb
lib/github/representation/repo.rb
+0
-3
lib/github/representation/user.rb
lib/github/representation/user.rb
+0
-4
No files found.
lib/github/representation/base.rb
View file @
9bdde579
...
...
@@ -6,6 +6,10 @@ module Github
@options
=
options
end
def
id
raw
[
'id'
]
end
def
url
raw
[
'url'
]
end
...
...
lib/github/representation/repo.rb
View file @
9bdde579
module
Github
module
Representation
class
Repo
<
Representation
::
Base
def
id
raw
[
'id'
]
end
end
end
end
lib/github/representation/user.rb
View file @
9bdde579
module
Github
module
Representation
class
User
<
Representation
::
Base
def
id
raw
[
'id'
]
end
def
email
return
@email
if
defined?
(
@email
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment