Add Github::Representation::Base#id

parent 2b7328c3
......@@ -6,6 +6,10 @@ module Github
@options = options
end
def id
raw['id']
end
def url
raw['url']
end
......
module Github
module Representation
class Repo < Representation::Base
def id
raw['id']
end
end
end
end
module Github
module Representation
class User < Representation::Base
def id
raw['id']
end
def email
return @email if defined?(@email)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment