Module: Shippinglogic::Attributes

Included in:
Service
Defined in:
lib/shippinglogic/attributes.rb

Overview

Adds in all of the reading / writing for the various serivce options.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/shippinglogic/attributes.rb', line 4

def self.included(klass)
  klass.class_eval do
    alias_method(:real_class, :class) unless method_defined? :real_class
    
    extend ClassMethods
    include InstanceMethods
  end
end