Module: Recurly::Schema::SchemaFactory
Overview
A mixin that allows a class to be treated like a recurly object. This gives the class the power to describe it’s schema. It adds the define_attribute method and a schema reader.
Instance Method Summary collapse
-
#schema ⇒ Schema
Gets the schema for this class.
Instance Method Details
#schema ⇒ Schema
Gets the schema for this class
11 12 13 |
# File 'lib/recurly/schema/schema_factory.rb', line 11 def schema @schema ||= ::Recurly::Schema.new end |