module Fortnox::API

Constants

DEFAULT_CONFIGURATION
Registry
VERSION

Private Class Methods

invalid_access_token_format!(value) click to toggle source
# File lib/fortnox/api.rb, line 62
def self.invalid_access_token_format!(value)
  raise ArgumentError,
        'expected a String, but '\
        "#{value.inspect} is a(n) #{value.class}"
end
invalid_access_tokens_format!(value) click to toggle source
# File lib/fortnox/api.rb, line 69
def self.invalid_access_tokens_format!(value)
  raise ArgumentError,
        'expected a Hash or an Array, but '\
        "#{value.inspect} is a(n) #{value.class}"
end