Class: Toaster::TestAttribute

Inherits:
KeyValuePair
  • Object
show all
Defined in:
lib/toaster/test/test_attribute.rb

Class Method Summary collapse

Methods inherited from KeyValuePair

flat_attributes_from_hash, get_as_hash, #hash, #initialize, #to_s

Constructor Details

This class inherits a constructor from Toaster::KeyValuePair

Class Method Details

.from_hash(hash) ⇒ Object



14
15
16
# File 'lib/toaster/test/test_attribute.rb', line 14

def self.from_hash(hash)
  super(hash, TestAttribute)
end