Sha256: 14dda36036645748491965d94c86c91ec9c2b3974dece5145d6c8ca44a6c253b

Contents?: true

Size: 971 Bytes

Versions: 8

Compression:

Stored size: 971 Bytes

Contents

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

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

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

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

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

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby_isds-0.12.0 lib/ruby_isds/data_box.rb
ruby_isds-0.11.1 lib/ruby_isds/data_box.rb
ruby_isds-0.11.0 lib/ruby_isds/data_box.rb
ruby_isds-0.10.5 lib/ruby_isds/data_box.rb
ruby_isds-0.10.4 lib/ruby_isds/data_box.rb
ruby_isds-0.10.3 lib/ruby_isds/data_box.rb
ruby_isds-0.10.2 lib/ruby_isds/data_box.rb
ruby_isds-0.10.1 lib/ruby_isds/data_box.rb