Class: FidorApi::ConfirmableAction

Inherits:
FidorApi::Connectivity::Resource show all
Extended by:
ModelAttribute
Defined in:
lib/fidor_api/confirmable_action.rb

Defined Under Namespace

Modules: ClientSupport

Instance Attribute Summary

Attributes inherited from FidorApi::Connectivity::Resource

#error_keys

Instance Method Summary collapse

Methods inherited from FidorApi::Connectivity::Resource

all, find, #initialize, model_name, #persisted?, #reload, #save, #update_attributes

Constructor Details

This class inherits a constructor from FidorApi::Connectivity::Resource

Instance Method Details

#refreshObject



22
23
24
25
# File 'lib/fidor_api/confirmable_action.rb', line 22

def refresh
  endpoint.for(self).put(action: "refresh")
  true
end