class Docusigner::Account

Attributes

id[RW]

Public Class Methods

find_single(id, options) click to toggle source
Calls superclass method
# File lib/docusigner/account.rb, line 21
def self.find_single(id, options)
  super(id, options).tap do |r|
    r.id = id
  end
end

Public Instance Methods

envelopes(from_date, options = {}) click to toggle source

define this manually because the index action requires a from_date

# File lib/docusigner/account.rb, line 12
def envelopes(from_date, options = {})
  Docusigner::Envelope.find(:all, :params => options.reverse_merge({:account_id => id, :from_date => from_date}))
end