Class: Fastbill::Automatic::Template

Inherits:
Base
  • Object
show all
Defined in:
lib/fastbill-automatic/template.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attributes

Class Method Summary collapse

Methods inherited from Base

clear_request_infos, #initialize, request_infos, request_infos=, #set_attributes

Methods included from Services::Create

included

Methods included from Services::Get

included

Constructor Details

This class inherits a constructor from Fastbill::Automatic::Base

Instance Attribute Details

#template_idObject (readonly)

Returns the value of attribute template_id.



5
6
7
# File 'lib/fastbill-automatic/template.rb', line 5

def template_id
  @template_id
end

#template_nameObject (readonly)

Returns the value of attribute template_name.



5
6
7
# File 'lib/fastbill-automatic/template.rb', line 5

def template_name
  @template_name
end

Class Method Details

.create(attributes) ⇒ Object

Raises:



7
8
9
# File 'lib/fastbill-automatic/template.rb', line 7

def self.create(attributes)
  raise FastbillError.new('Create method not implemented.')
end