Module: Postful

Defined in:
lib/postful/base.rb,
lib/postful/util.rb,
lib/postful/order.rb,
lib/postful/letter.rb,
lib/postful/section.rb,
lib/postful/service.rb,
lib/postful/document.rb,
lib/postful/postcard.rb,
lib/postful/simple_document.rb,
lib/postful/template_document.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Util Classes: AuthorizationException, Base, Document, InternalServerError, Letter, NotFoundException, Order, Postcard, Section, Service, SimpleDocument, TemplateDocument, UnknownResponseException, ValidationException

Constant Summary collapse

HOST =
'www.postful.com'
PORT =
443

Class Method Summary collapse

Class Method Details

.hostObject



9
10
11
# File 'lib/postful/util.rb', line 9

def self.host
  @host || HOST
end

.host=(host) ⇒ Object



5
6
7
# File 'lib/postful/util.rb', line 5

def self.host=(host)
  @host = host
end

.portObject



17
18
19
# File 'lib/postful/util.rb', line 17

def self.port
  @port || PORT
end

.port=(port) ⇒ Object



13
14
15
# File 'lib/postful/util.rb', line 13

def self.port=(port)
  @port = port
end