Method: PostageApp::Configuration#port

Defined in:
lib/postageapp/configuration.rb

#portObject

Returns the port used to make API calls



140
141
142
# File 'lib/postageapp/configuration.rb', line 140

def port
  @port ||= (self.secure? ? HTTPS_PORT_DEFAULT : HTTP_PORT_DEFAULT)
end