Module: GovDelivery::TMS::Base
- Included in:
- CollectionResource::InstanceMethods
- Defined in:
- lib/govdelivery/tms/base.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#href ⇒ Object
Returns the value of attribute href.
-
#new_record ⇒ Object
Returns the value of attribute new_record.
Class Method Summary collapse
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
11 12 13 |
# File 'lib/govdelivery/tms/base.rb', line 11 def client @client end |
#errors ⇒ Object
Returns the value of attribute errors.
11 12 13 |
# File 'lib/govdelivery/tms/base.rb', line 11 def errors @errors end |
#href ⇒ Object
Returns the value of attribute href.
11 12 13 |
# File 'lib/govdelivery/tms/base.rb', line 11 def href @href end |
#new_record ⇒ Object
Returns the value of attribute new_record.
11 12 13 |
# File 'lib/govdelivery/tms/base.rb', line 11 def new_record @new_record end |
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/govdelivery/tms/base.rb', line 3 def self.included(base) base.send(:include, GovDelivery::TMS::Util::HalLinkParser) base.extend(ClassMethods) base.send(:include, InstanceMethods) base.send(:include, GovDelivery::TMS::CoreExt) base.send(:extend, GovDelivery::TMS::CoreExt) end |