class Io::Flow::V0::Models::PasswordChangeForm
Attributes
current[R]
new[R]
Public Class Methods
new(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 56211 def initialize(incoming={}) opts = HttpClient::Helper.symbolize_keys(incoming) HttpClient::Preconditions.require_keys(opts, [:current, :new], 'PasswordChangeForm') @current = HttpClient::Preconditions.assert_class('current', opts.delete(:current), String) @new = HttpClient::Preconditions.assert_class('new', opts.delete(:new), String) end
Public Instance Methods
copy(incoming={})
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 56222 def copy(incoming={}) PasswordChangeForm.new(to_hash.merge(HttpClient::Helper.symbolize_keys(incoming))) end
to_hash()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 56226 def to_hash { :current => current, :new => new } end
to_json()
click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 56218 def to_json JSON.dump(to_hash) end