Class: Fakturoid::Api

Inherits:
Object
  • Object
show all
Extended by:
Arguments, HttpMethods
Defined in:
lib/fakturoid/api.rb,
lib/fakturoid/api/arguments.rb,
lib/fakturoid/api/http_methods.rb

Defined Under Namespace

Modules: Arguments, HttpMethods

Class Method Summary collapse

Methods included from Arguments

permit_params, validate_numerical_id, validate_search_query

Methods included from HttpMethods

delete_request, get_request, patch_request, post_request

Class Method Details

.configObject



13
14
15
# File 'lib/fakturoid/api.rb', line 13

def self.config
  @config
end

.configure(&block) ⇒ Object



9
10
11
# File 'lib/fakturoid/api.rb', line 9

def self.configure(&block)
  @config ||= Fakturoid::Config.new(&block)
end