Class: Granite::Action::Types::Collection

Inherits:
Object
  • Object
show all
Defined in:
lib/granite/action/types/collection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subtype) ⇒ Collection

Returns a new instance of Collection.



7
8
9
# File 'lib/granite/action/types/collection.rb', line 7

def initialize(subtype)
  @subtype = subtype
end

Instance Attribute Details

#subtypeObject (readonly)

Returns the value of attribute subtype.



5
6
7
# File 'lib/granite/action/types/collection.rb', line 5

def subtype
  @subtype
end