Class: FuelController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- FuelController
show all
- Defined in:
- app/controllers/fuel_controller.rb
Instance Method Summary
collapse
Instance Method Details
#not_found ⇒ Object
6
7
8
|
# File 'app/controllers/fuel_controller.rb', line 6
def not_found
raise ActionController::RoutingError.new('Not Found')
end
|
#s3_bucket ⇒ Object
10
11
12
13
14
15
|
# File 'app/controllers/fuel_controller.rb', line 10
def s3_bucket
return nil unless Fuel.configuration.aws_bucket.present?
@s3_bucket ||= (
AWS::S3.new.buckets[Fuel.configuration.aws_bucket]
)
end
|