Class: FortyTwo::Response::Model::Achievement

Inherits:
Base
  • Object
show all
Defined in:
lib/fortytwo/responses/models/achievement.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from FortyTwo::Response::Base

Instance Attribute Details

#descriptionObject (readonly)

Returns the value of attribute description.



7
8
9
# File 'lib/fortytwo/responses/models/achievement.rb', line 7

def description
  @description
end

#idObject (readonly)

Returns the value of attribute id.



7
8
9
# File 'lib/fortytwo/responses/models/achievement.rb', line 7

def id
  @id
end

#imageObject (readonly)

Returns the value of attribute image.



7
8
9
# File 'lib/fortytwo/responses/models/achievement.rb', line 7

def image
  @image
end

#kindObject (readonly)

Returns the value of attribute kind.



7
8
9
# File 'lib/fortytwo/responses/models/achievement.rb', line 7

def kind
  @kind
end

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/fortytwo/responses/models/achievement.rb', line 7

def name
  @name
end

#nbr_of_successObject (readonly)

Returns the value of attribute nbr_of_success.



7
8
9
# File 'lib/fortytwo/responses/models/achievement.rb', line 7

def nbr_of_success
  @nbr_of_success
end

#tierObject (readonly)

Returns the value of attribute tier.



7
8
9
# File 'lib/fortytwo/responses/models/achievement.rb', line 7

def tier
  @tier
end

#users_urlObject (readonly)

Returns the value of attribute users_url.



7
8
9
# File 'lib/fortytwo/responses/models/achievement.rb', line 7

def users_url
  @users_url
end

#visibleObject (readonly)

Returns the value of attribute visible.



7
8
9
# File 'lib/fortytwo/responses/models/achievement.rb', line 7

def visible
  @visible
end