module Omniva::API
Constants
- Configuration
- InvalidConfiguration
- VERSION
Public Class Methods
call(data = nil)
click to toggle source
# File lib/omniva/api.rb, line 9 def self.call(data = nil) Client.call(data) end
config()
click to toggle source
# File lib/omniva/api/configuration.rb, line 17 def self.config @config || configure end
configure() { |config| ... }
click to toggle source
# File lib/omniva/api/configuration.rb, line 11 def self.configure @config = Configuration.new yield(@config) if block_given? @config end