Class: InterFAX::Files

Inherits:
Object
  • Object
show all
Defined in:
lib/interfax/files.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Files

Returns a new instance of Files.



2
3
4
# File 'lib/interfax/files.rb', line 2

def initialize client
  @client = client
end

Instance Method Details

#create(data, options = {}) ⇒ Object



6
7
8
# File 'lib/interfax/files.rb', line 6

def create data, options = {}
  InterFAX::File.new(@client, data, options)
end