Class: Contactually::Tasks

Inherits:
Base
  • Object
show all
Defined in:
lib/contactually/tasks.rb

Instance Attribute Summary

Attributes inherited from Base

#interface, #url

Instance Method Summary collapse

Methods inherited from Base

#check_implementation, #create, #destroy, #fetch, implement_list, implements, #list, #list_each, #update

Constructor Details

#initialize(url: '/v2/tasks', interface: nil) ⇒ Tasks

Returns a new instance of Tasks.



5
6
7
8
# File 'lib/contactually/tasks.rb', line 5

def initialize(url: '/v2/tasks', interface: nil)
  @url = url
  @interface = interface
end

Instance Method Details

#modelObject



10
11
12
# File 'lib/contactually/tasks.rb', line 10

def model
  Models::Task
end