Sha256: 7481b6b09848851eaf763f89feb9cf1103ea6bf0c14ec34b0f5ab304019bb80d
Contents?: true
Size: 455 Bytes
Versions: 1
Compression:
Stored size: 455 Bytes
Contents
module Outreach module Service class Sequence def initialize(client) @request = client.request end def find(id) response = @request.get("#{api_url}/#{id}") collection_class.build_from_attributes_hash(response['data']) end private def api_url 'https://api.outreach.io/api/v2/sequences' end def collection_class Outreach::Sequence end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
outreach-ruby-0.0.2 | lib/outreach-ruby/service/sequence.rb |