Sha256: bad4b0f71533e5a4f45f94930893047c5463ca716238a6e93f267c1da830f8d2

Contents?: true

Size: 594 Bytes

Versions: 10

Compression:

Stored size: 594 Bytes

Contents

require 'geo_certs/order/contact'

module GeoCerts
  class Order < ApiObject
    
    ##
    # Used for setting or retrieving the Administrator associated with a GeoCerts::Order.
    # 
    class Administrator < Contact
      
      def to_geocerts_hash
        {
          :administrator_first_name => GeoCerts.escape(self.first_name),
          :administrator_last_name  => GeoCerts.escape(self.last_name),
          :administrator_phone      => GeoCerts.escape(self.phone),
          :administrator_email      => GeoCerts.escape(self.email)
        }
      end
      
    end
    
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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