Class: Cobrato::Resources::RegressCnab
- Defined in:
- lib/cobrato/resources/regress_cnab.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#collection_name, #create, crud, #destroy, #initialize, #list, #parsed_body, #show, #update
Methods included from Hooks
Constructor Details
This class inherits a constructor from Cobrato::Resources::Base
Instance Method Details
#file(id) ⇒ Object
8 9 10 11 12 |
# File 'lib/cobrato/resources/regress_cnab.rb', line 8 def file(id) http.get("#{resource_base_path}/#{id}/file") do |response| respond_with_openstruct(response) end end |