Method: FbGraph::Order#update
- Defined in:
- lib/fb_graph/order.rb
#update(attributes = {}) ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/fb_graph/order.rb', line 42 def update(attributes = {}) _attributes_ = attributes.dup params = { :access_token => _attributes_.delete(:access_token) || self.access_token, :status => _attributes_.delete(:status), :message => _attributes_.delete(:message), :refund_funding_source => _attributes_.delete(:refund_funding_source), :refund_reason => _attributes_.delete(:refund_reason), :params => _attributes_ } super params end |