Class: Recurly::Schema::ResourceAttribute
- Defined in:
- lib/recurly/schema.rb
Constant Summary
Constants inherited from Attribute
Instance Attribute Summary
Attributes inherited from Attribute
Instance Method Summary collapse
Methods inherited from Attribute
build, #initialize, #recurly_class
Constructor Details
This class inherits a constructor from Recurly::Schema::Attribute
Instance Method Details
#cast(value) ⇒ Object
134 135 136 |
# File 'lib/recurly/schema.rb', line 134 def cast(value) self.recurly_class.cast(value) end |
#is_valid?(value) ⇒ Boolean
130 131 132 |
# File 'lib/recurly/schema.rb', line 130 def is_valid?(value) value.is_a? Hash end |