class Io::Flow::V0::Models::ActionWait
Attributes
expires_at[R]
Public Class Methods
new(incoming={})
click to toggle source
Calls superclass method
Io::Flow::V0::Models::Action::new
# File lib/flow_commerce/flow_api_v0_client.rb, line 29443 def initialize(incoming={}) super(:type => Action::Types::ACTION_WAIT) opts = HttpClient::Helper.symbolize_keys(incoming) @expires_at = (x = opts.delete(:expires_at); x.nil? ? nil : HttpClient::Preconditions.assert_class('expires_at', HttpClient::Helper.to_date_time_iso8601(x), DateTime)) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 29453 def copy(incoming={}) ActionWait.new(subtype_to_hash.merge(HttpClient::Helper.symbolize_keys(incoming))) end
subtype_to_hash()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 29457 def subtype_to_hash { :expires_at => expires_at } end
to_json()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 29449 def to_json JSON.dump(to_hash) end