module ZipMoney
Constants
- VERSION
Attributes
_api[RW]
_express[RW]
_webhook[RW]
config[RW]
Public Instance Methods
api()
click to toggle source
Return the api instance
# File lib/zipMoney.rb, line 29 def api @config = ZipMoney::Configuration configure_api if @_api.nil? @_api end
configure_api()
click to toggle source
Configure
the api
# File lib/zipMoney.rb, line 36 def configure_api options = {:headers => {:content_type => :json ,:accept=> :json}} @_api = ZipMoney::Api.new(@config,options) end
express()
click to toggle source
Return the express api class
# File lib/zipMoney.rb, line 49 def express @config = ZipMoney::Configuration @_express = ZipMoney::Express if @_express.nil? @_express end
webhook()
click to toggle source
Return the webhook class
# File lib/zipMoney.rb, line 42 def webhook @config = ZipMoney::Configuration @_webhook = ZipMoney::WebHook if @_webhook.nil? @_webhook end