module Github
module Representation
class Base
def initialize(raw, options = {})
@raw = raw
@options = options
end
def id
raw['id']
def url
raw['url']
def created_at
raw['created_at']
def updated_at
raw['updated_at']
private
attr_reader :raw, :options