Class: Billogram::Logotype

Inherits:
Resource show all
Includes:
Endpoint
Defined in:
lib/billogram/resources/logotype.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from Endpoint

included

Methods inherited from Resource

build_objects, #initialize, relation, relations, #to_hash, #to_json

Constructor Details

This class inherits a constructor from Billogram::Resource

Instance Attribute Details

#contentObject

Returns the value of attribute content.



7
8
9
# File 'lib/billogram/resources/logotype.rb', line 7

def content
  @content
end

#file_typeObject

Returns the value of attribute file_type.



7
8
9
# File 'lib/billogram/resources/logotype.rb', line 7

def file_type
  @file_type
end

Class Method Details

.upload(*args) ⇒ Object



9
10
11
# File 'lib/billogram/resources/logotype.rb', line 9

def self.upload(*args)
  create(*args)
end