Class: RubyIsds::DataBox

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_isds/data_box.rb

Class Method Summary collapse

Class Method Details

.check(options = {}) ⇒ Object



3
4
5
6
# File 'lib/ruby_isds/data_box.rb', line 3

def self.check(options = {})
  ::RubyIsds::WebServices::DbSearch::CheckDataBox
    .call(options.merge(dbID: ::RubyIsds.configuration.data_box))
end

.credit_info(options = {}) ⇒ Object



13
14
15
16
# File 'lib/ruby_isds/data_box.rb', line 13

def self.credit_info(options = {})
  ::RubyIsds::WebServices::DbSearch::DataBoxCreditInfo
    .call(options.merge(dbID: ::RubyIsds.configuration.data_box))
end

.find_by(options = {}) ⇒ Object



8
9
10
11
# File 'lib/ruby_isds/data_box.rb', line 8

def self.find_by(options = {})
  ::RubyIsds::WebServices::DbSearch::FindDataBox
    .call(options)
end

.pingObject



33
34
35
# File 'lib/ruby_isds/data_box.rb', line 33

def self.ping
  RubyIsds::WebServices::DmOperations::Ping.call
end

.received(options = {}) ⇒ Object



18
19
20
21
# File 'lib/ruby_isds/data_box.rb', line 18

def self.received(options = {})
  RubyIsds::WebServices::DmInfo::GetListOfReceivedMessages
    .call(options)
end

.sent(options = {}) ⇒ Object



23
24
25
26
# File 'lib/ruby_isds/data_box.rb', line 23

def self.sent(options = {})
  RubyIsds::WebServices::DmInfo::GetListOfSentMessages
    .call(options)
end

.state_changes(options = {}) ⇒ Object



28
29
30
31
# File 'lib/ruby_isds/data_box.rb', line 28

def self.state_changes(options = {})
  RubyIsds::WebServices::DmInfo::GetMessageStateChanges
    .call(options)
end