Sha256: ca361c1c210d478c43cac671bd900f7e785b98e478630077f3063fb72eee4805

Contents?: true

Size: 703 Bytes

Versions: 7

Compression:

Stored size: 703 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 #:nodoc:
        {
          :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

7 entries across 7 versions & 1 rubygems

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