Class: Scribesend::Account

Inherits:
APIResource show all
Defined in:
lib/scribesend/account.rb

Class Method Summary collapse

Methods inherited from APIResource

all, class_name, create, #refresh, request, retrieve, #save, url, #url

Methods inherited from ScribesendObject

#[], #[]=, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #serialize_nested_object, serialize_params, #to_hash, #to_json, #to_s, #values

Constructor Details

This class inherits a constructor from Scribesend::ScribesendObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Scribesend::ScribesendObject

Class Method Details

.retrieve_entry_lines(id, opts = {}) ⇒ Object



3
4
5
6
7
# File 'lib/scribesend/account.rb', line 3

def self.retrieve_entry_lines(id, opts={})
  instance = self.new(id, opts)
  response, opts = instance.class.request(:get, instance.url + "/entry_lines", opts)
  Util.convert_to_scribesend_object(response, opts)
end