Sha256: 67f0d9b24a045585f80f673d8fa561ecb2e686fcd4d573d0ce7a54c7d9f42d7a

Contents?: true

Size: 318 Bytes

Versions: 2

Compression:

Stored size: 318 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

2 entries across 2 versions & 1 rubygems

Version Path
sugarcrm-0.9.9 lib/sugarcrm/connection/api/get_note_attachment.rb
sugarcrm-0.9.8 lib/sugarcrm/connection/api/get_note_attachment.rb