Class: Nuncium::DataBox

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

Class Method Summary collapse

Class Method Details

.check(options = {}) ⇒ Object



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

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

.credit_info(options = {}) ⇒ Object



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

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

.find_by(options = {}) ⇒ Object



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

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

.owner_infoObject



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

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

.pingObject



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

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

.received(options = {}) ⇒ Object



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

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

.sent(options = {}) ⇒ Object



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

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

.state_changes(options = {}) ⇒ Object



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

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