Sha256: 4e0abb12706e0253dcc78d2002e30ccda3abca374cc594d224de55d41bd653b3
Contents?: true
Size: 469 Bytes
Versions: 2
Compression:
Stored size: 469 Bytes
Contents
# encoding: utf-8 module RDStation # More info: https://developers.rdstation.com/pt-BR/reference/contacts class Fields include HTTParty BASE_URL = 'https://api.rd.services/platform/contacts/fields'.freeze def initialize(authorization_header:) @authorization_header = authorization_header end def all response = self.class.get(BASE_URL, headers: @authorization_header.to_h) ApiResponse.build(response) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rdstation-ruby-client-2.1.0 | lib/rdstation/fields.rb |
rdstation-ruby-client-2.0.0 | lib/rdstation/fields.rb |