Class: HerokuSchemas::SchemaCommand
- Inherits:
-
Object
- Object
- HerokuSchemas::SchemaCommand
- Defined in:
- lib/heroku-schemas/schema_command.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ SchemaCommand
constructor
A new instance of SchemaCommand.
- #write(string) ⇒ Object
Constructor Details
#initialize(options) ⇒ SchemaCommand
Returns a new instance of SchemaCommand.
3 4 5 6 |
# File 'lib/heroku-schemas/schema_command.rb', line 3 def initialize() @heroku = Heroku::API.new(:api_key => ENV['HEROKU_API_KEY']) @context_app = [:context_app] end |
Instance Method Details
#write(string) ⇒ Object
8 9 10 |
# File 'lib/heroku-schemas/schema_command.rb', line 8 def write(string) puts string end |