Class: Scribesend::EntryLine
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from APIResource
class_name, #refresh, request
#[], #[]=, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #serialize_nested_object, serialize_params, #to_hash, #to_json, #to_s, #values
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Scribesend::ScribesendObject
Class Method Details
.all ⇒ Object
15
16
17
|
# File 'lib/scribesend/entry_line.rb', line 15
def self.all
raise NotImplementedError.new("Entry_lines cannot be retrieved individually. Retrieve an entry instead.")
end
|
.create ⇒ Object
19
20
21
|
# File 'lib/scribesend/entry_line.rb', line 19
def self.create
raise NotImplementedError.new("Entry_lines cannot be created outside of an entry.")
end
|
.retrieve(id, opts = nil) ⇒ Object
11
12
13
|
# File 'lib/scribesend/entry_line.rb', line 11
def self.retrieve(id, opts=nil)
raise NotImplementedError.new("Entry_lines cannot be retrieved individually. Retrieve an entry instead.")
end
|
.url ⇒ Object
3
4
5
|
# File 'lib/scribesend/entry_line.rb', line 3
def self.url
return nil
end
|
Instance Method Details
#save ⇒ Object
23
24
25
26
27
28
|
# File 'lib/scribesend/entry_line.rb', line 23
def save
raise NotImplementedError.new("Entry_lines cannot be updated within an entry. " \
"If you want to make changes to an entry_line, you will need to create " \
"a new entry that adjusts the corresponding accounts and values. " \
"See https://scribesend.com/docs for more details.")
end
|
#url ⇒ Object
7
8
9
|
# File 'lib/scribesend/entry_line.rb', line 7
def url
return nil
end
|