Class: GoodReceipt::Configuration
- Inherits:
-
Object
- Object
- GoodReceipt::Configuration
- Defined in:
- lib/good_receipt/base.rb
Instance Attribute Summary collapse
-
#business_email ⇒ Object
Returns the value of attribute business_email.
-
#business_name ⇒ Object
Returns the value of attribute business_name.
-
#business_phone ⇒ Object
Returns the value of attribute business_phone.
-
#logo_path ⇒ Object
Returns the value of attribute logo_path.
-
#storage_bucket ⇒ Object
Returns the value of attribute storage_bucket.
-
#storage_credentials ⇒ Object
Returns the value of attribute storage_credentials.
-
#storage_project_id ⇒ Object
Returns the value of attribute storage_project_id.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
11 12 13 14 15 16 17 18 19 |
# File 'lib/good_receipt/base.rb', line 11 def initialize @business_name = 'Business Name' @business_phone = '(000) 111-1234' @business_email = '[email protected]' @storage_project_id = 'google-cloud-project' @storage_bucket = 'google-cloud-bucket-name' @storage_credentials = '/path/to/credentials' @logo_path = nil end |
Instance Attribute Details
#business_email ⇒ Object
Returns the value of attribute business_email.
8 9 10 |
# File 'lib/good_receipt/base.rb', line 8 def business_email @business_email end |
#business_name ⇒ Object
Returns the value of attribute business_name.
8 9 10 |
# File 'lib/good_receipt/base.rb', line 8 def business_name @business_name end |
#business_phone ⇒ Object
Returns the value of attribute business_phone.
8 9 10 |
# File 'lib/good_receipt/base.rb', line 8 def business_phone @business_phone end |
#logo_path ⇒ Object
Returns the value of attribute logo_path.
8 9 10 |
# File 'lib/good_receipt/base.rb', line 8 def logo_path @logo_path end |
#storage_bucket ⇒ Object
Returns the value of attribute storage_bucket.
8 9 10 |
# File 'lib/good_receipt/base.rb', line 8 def storage_bucket @storage_bucket end |
#storage_credentials ⇒ Object
Returns the value of attribute storage_credentials.
8 9 10 |
# File 'lib/good_receipt/base.rb', line 8 def storage_credentials @storage_credentials end |
#storage_project_id ⇒ Object
Returns the value of attribute storage_project_id.
8 9 10 |
# File 'lib/good_receipt/base.rb', line 8 def storage_project_id @storage_project_id end |