Sha256: a0c8795e23ce3fdccfe58ffd60740d178531b171d33e77e7ea01bf2a944b6996

Contents?: true

Size: 295 Bytes

Versions: 7

Compression:

Stored size: 295 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}/,'')
  send!(:get_note_attachment, json)
end
end; end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sugarcrm-0.8.2 lib/sugarcrm/connection/api/get_note_attachment.rb
sugarcrm-0.8.1 lib/sugarcrm/connection/api/get_note_attachment.rb
sugarcrm-0.8.0 lib/sugarcrm/connection/api/get_note_attachment.rb
sugarcrm-0.7.9 lib/sugarcrm/connection/api/get_note_attachment.rb
sugarcrm-0.7.8 lib/sugarcrm/connection/api/get_note_attachment.rb
sugarcrm-0.7.7 lib/sugarcrm/connection/api/get_note_attachment.rb
sugarcrm-0.7.2 lib/sugarcrm/connection/api/get_note_attachment.rb