Method: PostageApp::Configuration#port
- Defined in:
- lib/postageapp/configuration.rb
#port ⇒ Object
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 |