Class: HelpScout::Attachment
- Inherits:
-
Base
- Object
- Base
- HelpScout::Attachment
show all
- Defined in:
- lib/help_scout/attachment.rb
Class Method Summary
collapse
Methods inherited from Base
#as_json, #to_h, #to_json
Class Method Details
.create(conversation_id, thread_id, params) ⇒ Object
6
7
8
9
10
11
12
|
# File 'lib/help_scout/attachment.rb', line 6
def create(conversation_id, thread_id, params)
HelpScout.api.post(
create_path(conversation_id, thread_id),
HelpScout::Util.camelize_keys(params)
)
true
end
|