Sha256: e883e67665085d09b2bcef2f16214529066802240ed676ed713763133e0b5eac

Contents?: true

Size: 647 Bytes

Versions: 10

Compression:

Stored size: 647 Bytes

Contents

module GeoCerts
  class Order < ApiObject
    
    ##
    # Used for setting or retrieving the Contact information associated with a 
    # GeoCerts::Order.
    # 
    class Contact # :nodoc:all
      
      attr_accessor :email,
                    :first_name,
                    :last_name,
                    :phone,
                    :title
                    
      
      def initialize(attributes = {})
        attributes.each_pair do |name, value|
          send("#{name}=", value) if respond_to?(name)
        end
      end
      
      def to_geocerts_hash
        raise(NotImplementedError)
      end
      
    end
    
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
geocerts-0.0.20 lib/geo_certs/order/contact.rb
geocerts-0.0.19 lib/geo_certs/order/contact.rb
geocerts-0.0.18 lib/geo_certs/order/contact.rb
geocerts-0.0.17 lib/geo_certs/order/contact.rb
geocerts-0.0.16 lib/geo_certs/order/contact.rb
geocerts-0.0.15 lib/geo_certs/order/contact.rb
geocerts-0.0.14 lib/geo_certs/order/contact.rb
geocerts-0.0.13 lib/geo_certs/order/contact.rb
geocerts-0.0.12 lib/geo_certs/order/contact.rb
geocerts-0.0.11 lib/geo_certs/order/contact.rb