Module: Insightly2::DSL::FileAttachments
- Included in:
- Insightly2::DSL
- Defined in:
- lib/insightly2/dsl/file_attachments.rb
Instance Method Summary collapse
-
#get_file_attachment(id: nil) ⇒ Faraday::Response
GET /v2.1/FileAttachments/id.
Instance Method Details
#get_file_attachment(id: nil) ⇒ Faraday::Response
GET /v2.1/FileAttachments/id
9 10 11 12 |
# File 'lib/insightly2/dsl/file_attachments.rb', line 9 def (id: nil) raise ArgumentError, "ID cannot be blank" if id.blank? request(:get, "FileAttachments/#{id}") end |