Class: ConvenientService::Examples::Standard::V1::Cowsay::Services::BuildCloud
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Standard::V1::Cowsay::Services::BuildCloud
- Includes:
- Service::Configs::Standard::V1
- Defined in:
- lib/convenient_service/examples/standard/v1/cowsay/services/build_cloud.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text: "Hello World!") ⇒ BuildCloud
constructor
A new instance of BuildCloud.
- #result ⇒ Object
Methods included from Config
Constructor Details
#initialize(text: "Hello World!") ⇒ BuildCloud
Returns a new instance of BuildCloud.
19 20 21 |
# File 'lib/convenient_service/examples/standard/v1/cowsay/services/build_cloud.rb', line 19 def initialize(text: "Hello World!") @text = text end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
17 18 19 |
# File 'lib/convenient_service/examples/standard/v1/cowsay/services/build_cloud.rb', line 17 def text @text end |
Instance Method Details
#result ⇒ Object
23 24 25 |
# File 'lib/convenient_service/examples/standard/v1/cowsay/services/build_cloud.rb', line 23 def result success(cloud: cloud) end |