Class: Cornerstore::Carrier

Inherits:
Model::Base show all
Defined in:
lib/cornerstore/api/carrier.rb

Instance Attribute Summary collapse

Attributes inherited from Model::Base

#_id, #_slugs, #created_at, #parent, #updated_at

Method Summary

Methods inherited from Model::Base

#==, #attributes, #attributes=, #initialize, #inspect, #method_missing, method_missing, #to_param, #url

Constructor Details

This class inherits a constructor from Cornerstore::Model::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Cornerstore::Model::Base

Instance Attribute Details

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/cornerstore/api/carrier.rb', line 2

def name
  @name
end

#serviceObject

Returns the value of attribute service.



2
3
4
# File 'lib/cornerstore/api/carrier.rb', line 2

def service
  @service
end