module VantivSFTPReports

Constants

MAJOR
MINOR
TINY
VERSION

Attributes

default_config[R]
default_fetch[R]

Public Class Methods

call(*args) click to toggle source
# File lib/vantiv_sftp_reports.rb, line 13
def call(*args)
  default_fetch.(*args)
end
Also aliased as: fetch
configure(config = env_config) click to toggle source
# File lib/vantiv_sftp_reports.rb, line 18
def configure(config = env_config)
  @default_config = Config.with_obj(config)
  @default_fetch = Fetch.new(@default_config)
end
env_config() click to toggle source
# File lib/vantiv_sftp_reports.rb, line 23
def env_config
  ENV.each_with_object({}) do |(k, v), h|
    next unless k.index('vantiv_sftp_') == 0
    h[k[12..-1].to_sym] = v
  end
end
fetch(*args)
Alias for: call
first(*args) click to toggle source
# File lib/vantiv_sftp_reports.rb, line 30
def first(*args)
  default_fetch.first(*args)
end
version() click to toggle source
# File lib/vantiv_sftp_reports/version.rb, line 9
def self.version
  VERSION
end