Method: GitHub::Organization#get

Defined in:
lib/github-api-client/organization.rb

#getObject



6
7
8
9
10
11
12
# File 'lib/github-api-client/organization.rb', line 6

def get
  self.update_attributes(
    GitHub::Base.parse_attributes(:org_get,
      YAML::load(
        GitHub::Browser.get("/organizations/#{self.}"))['organization']))
  self
end