Class: FactoryGirl::RemoteApi::Configuration
- Inherits:
-
Object
- Object
- FactoryGirl::RemoteApi::Configuration
- Defined in:
- lib/factory_girl/remote_api/configuration.rb
Instance Attribute Summary collapse
-
#server_mount_path ⇒ Object
Returns the value of attribute server_mount_path.
-
#server_url ⇒ Object
Returns the value of attribute server_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/factory_girl/remote_api/configuration.rb', line 6 def initialize @server_url = 'http://localhost:3000' @server_mount_path = '/factories' end |
Instance Attribute Details
#server_mount_path ⇒ Object
Returns the value of attribute server_mount_path.
4 5 6 |
# File 'lib/factory_girl/remote_api/configuration.rb', line 4 def server_mount_path @server_mount_path end |
#server_url ⇒ Object
Returns the value of attribute server_url.
4 5 6 |
# File 'lib/factory_girl/remote_api/configuration.rb', line 4 def server_url @server_url end |