Class: Rubill::Attachment
- Defined in:
- lib/rubill/entities/attachment.rb
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#[], #[]=, active, all, create, delete, #delete, find, find_by_name, #id, #initialize, #save, update, where
Constructor Details
This class inherits a constructor from Rubill::Base
Class Method Details
.send_attachment(object_id, file_name, content) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/rubill/entities/attachment.rb', line 5 def self.(object_id, file_name, content) Query.({ id: object_id, fileName: file_name, document: content, content: content }) end |