Sha256: 5093004c7a31a6bd95000af46c9959b1925f94c0dc76b9fd9d3a1cf78077df40

Contents?: true

Size: 643 Bytes

Versions: 7

Compression:

Stored size: 643 Bytes

Contents

module GeoCerts
  class Order < ApiObject
    
    ##
    # Used for setting or retrieving the Contact information associated with a 
    # GeoCerts::Order.
    # 
    class Contact
      
      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 #:nodoc:
        raise(NotImplementedError)
      end
      
    end
    
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
geocerts-1.0.1 lib/geo_certs/order/contact.rb
geocerts-1.0.0 lib/geo_certs/order/contact.rb
geocerts-0.0.25 lib/geo_certs/order/contact.rb
geocerts-0.0.24 lib/geo_certs/order/contact.rb
geocerts-0.0.23 lib/geo_certs/order/contact.rb
geocerts-0.0.22 lib/geo_certs/order/contact.rb
geocerts-0.0.21 lib/geo_certs/order/contact.rb