Module: AlphaCard::Attribute
- Included in:
- Resource
- Defined in:
- lib/alpha_card/attribute.rb
Overview
Attribute DSL for Alpha Card transaction variables
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
Extends base class with Attributes DSL.
Class Method Details
.included(base) ⇒ Object
Extends base class with Attributes DSL.
13 14 15 16 |
# File 'lib/alpha_card/attribute.rb', line 13 def self.included(base) base.extend(ClassMethods) base.send(:include, InstanceMethods) end |