Skip to content

Commit

Permalink
add :company to pushables for User
Browse files Browse the repository at this point in the history
  • Loading branch information
farnoy committed Jan 21, 2012
1 parent db28755 commit d73a797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/github-api-client/resources/user.rb
Expand Up @@ -2,7 +2,7 @@ module GitHub
module Resources
class User
@@attributes = {login: :string, name: :string, location: :string, bio: :string, email: :string, hireable: :boolean, blog: :string}
@@pushables = [:name, :location, :bio, :email, :hireable, :blog]
@@pushables = [:name, :location, :bio, :email, :hireable, :blog, :company]
@@associations = {repositories: [nil, -> { has_many :repositories, :class_name => 'GitHub::Models::Repository'}]}
include Resource
end
Expand Down

0 comments on commit d73a797

Please sign in to comment.