Class: Jaconda::API::Message

Inherits:
Jaconda::API
  • Object
show all
Defined in:
lib/jaconda/message.rb

Class Method Summary collapse

Methods inherited from Jaconda::API

authenticate

Class Method Details

.search(options = {}) ⇒ Object



5
6
7
# File 'lib/jaconda/message.rb', line 5

def self.search(options = {})
  get(:search, options)
end

.transcript(options = {}) ⇒ Object



9
10
11
12
# File 'lib/jaconda/message.rb', line 9

def self.transcript(options = {})
  date = options[:date] || Date.today
  get("#{date.year}/#{date.month}/#{date.day}", options)
end