Sha256: 4a18765ba4b515bb277d90ff84910eb9e68e4614e9163e6c310b70b5209b4e88

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 Bytes

Contents

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

module Venmo
  extend Config

  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

1 entries across 1 versions & 1 rubygems

Version Path
venmo-0.1.1 lib/venmo.rb