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



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

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

.owner_infoObject



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

def self.owner_info
  ::RubyIsds::WebServices::DbAccess::GetOwnerInfoFromLogin.call
end

.pingObject



37
38
39
# File 'lib/ruby_isds/data_box.rb', line 37

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

.received(options = {}) ⇒ Object



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

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

.sent(options = {}) ⇒ Object



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

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

.state_changes(options = {}) ⇒ Object



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

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