Class: QuakeliveApi::Items::Model

Inherits:
Struct
  • Object
show all
Includes:
Structurable
Defined in:
lib/quakelive_api/items/model.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Structurable

#initialize

Instance Attribute Details

#imageObject

Returns the value of attribute image

Returns:

  • (Object)

    the current value of image



3
4
5
# File 'lib/quakelive_api/items/model.rb', line 3

def image
  @image
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/quakelive_api/items/model.rb', line 3

def name
  @name
end