Class: PostgresqlLoStreamer::Configuration
- Inherits:
-
Object
- Object
- PostgresqlLoStreamer::Configuration
- Defined in:
- lib/postgresql_lo_streamer/configuration.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #reset ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
4 5 6 |
# File 'lib/postgresql_lo_streamer/configuration.rb', line 4 def initialize self.reset end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
2 3 4 |
# File 'lib/postgresql_lo_streamer/configuration.rb', line 2 def @options end |
Instance Method Details
#reset ⇒ Object
12 13 14 |
# File 'lib/postgresql_lo_streamer/configuration.rb', line 12 def reset self. = {:type => 'image/png', :disposition => 'inline'} end |