Sha256: 9a6d388220cd4bf23d9b1edb6ad3de5fd196c1d935bef641546782ddfeafdecf
Contents?: true
Size: 293 Bytes
Versions: 3
Compression:
Stored size: 293 Bytes
Contents
module SugarCRM; class Connection # Retrieves an attachment from a note. def get_note_attachment(id) login! unless logged_in? json = <<-EOF { \"session\": \"#{@session}\"\, \"id\": #{id}\ } EOF json.gsub!(/^\s{6}/,'') get(:get_note_attachment, json) end end; end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sugarcrm-0.6.2 | lib/sugarcrm/api/get_note_attachment.rb |
sugarcrm-0.6.1 | lib/sugarcrm/api/get_note_attachment.rb |
sugarcrm-0.6.0 | lib/sugarcrm/api/get_note_attachment.rb |