Class: Legalizer::Contract

Inherits:
Document show all
Defined in:
lib/legalizer/document/contract.rb

Instance Method Summary collapse

Methods inherited from Document

#id, #source, #to_s, #to_struct

Methods inherited from Base

#config, #connection, #contracts, #find, #templates, #token

Constructor Details

#initialize(options = {}) ⇒ Contract

Returns a new instance of Contract.



3
4
5
6
# File 'lib/legalizer/document/contract.rb', line 3

def initialize(options={})
  super(options)
  @source = options[:object]
end