Class: InterFAX::Files
- Inherits:
-
Object
- Object
- InterFAX::Files
- Defined in:
- lib/interfax/files.rb
Instance Method Summary collapse
- #create(data, options = {}) ⇒ Object
-
#initialize(client) ⇒ Files
constructor
A new instance of Files.
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, = {} InterFAX::File.new(@client, data, ) end |