Sha256: a9ba69524f8f161da8d1a5e1daabc842076e4f4a7ef01b7dea2b1d7c2bf3961d

Contents?: true

Size: 499 Bytes

Versions: 6

Compression:

Stored size: 499 Bytes

Contents

require 'venmo/config'
require 'venmo/sender'
require 'venmo/pay'

module Venmo
  extend Config
  extend Pay

  def self.configure
    yield self
  end

   def self.sender(options={})
    Venmo::Sender.new(options)
  end

  def self.configure
    yield self
  end

  def self.method_missing(method, *args, &block)
    return super unless sender.respond_to?(method)
    sender.send(method, *args, &block)
  end

  def self.respond_to?(method)
    return sender.respond_to?(method) || super
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
venmo-0.4.0 lib/venmo.rb
venmo-0.3.3 lib/venmo.rb
venmo-0.3.2 lib/venmo.rb
venmo-0.3.1 lib/venmo.rb
venmo-0.3.0 lib/venmo.rb
venmo-0.2.0 lib/venmo.rb