class CreditDevice::Status

Public Class Methods

check_status() click to toggle source
# File lib/credit_device/status.rb, line 3
def self.check_status
  CreditDevice::Client.new(:get, 'status').request['ok']
rescue RestClient::ExceptionWithResponse => _e
  puts _e
  false
end