Class: Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/resources.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ Resource

Returns a new instance of Resource.



58
59
60
# File 'lib/resources.rb', line 58

def initialize( type )
  @type = type
end

Instance Attribute Details

#typeObject

Returns the value of attribute type.



55
56
57
# File 'lib/resources.rb', line 55

def type
  @type
end