Sha256: 165fa9d4bd43dc09505d2b793faf7ac8de80a634289016c93a9cd2723d645f1b

Contents?: true

Size: 694 Bytes

Versions: 10

Compression:

Stored size: 694 Bytes

Contents

module GeoCerts
  class Order < ApiObject
    
    ##
    # Used for setting or retrieving the required approver information when using extended 
    # validation certificates in a GeoCerts::Order.
    # 
    class ExtendedValidationApprover < Contact
      
      def to_geocerts_hash
        {
          :ev_approver_first_name   => GeoCerts.escape(self.first_name),
          :ev_approver_last_name    => GeoCerts.escape(self.last_name),
          :ev_approver_title        => GeoCerts.escape(self.title),
          :ev_approver_phone        => GeoCerts.escape(self.phone),
          :ev_approver_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/extended_validation_approver.rb
geocerts-0.0.19 lib/geo_certs/order/extended_validation_approver.rb
geocerts-0.0.18 lib/geo_certs/order/extended_validation_approver.rb
geocerts-0.0.17 lib/geo_certs/order/extended_validation_approver.rb
geocerts-0.0.16 lib/geo_certs/order/extended_validation_approver.rb
geocerts-0.0.15 lib/geo_certs/order/extended_validation_approver.rb
geocerts-0.0.14 lib/geo_certs/order/extended_validation_approver.rb
geocerts-0.0.13 lib/geo_certs/order/extended_validation_approver.rb
geocerts-0.0.12 lib/geo_certs/order/extended_validation_approver.rb
geocerts-0.0.11 lib/geo_certs/order/extended_validation_approver.rb