Class: Mio
- Inherits:
-
Object
- Object
- Mio
- Defined in:
- lib/mio.rb,
lib/mio/model.rb,
lib/mio/client.rb,
lib/mio/config.rb,
lib/mio/errors.rb,
lib/mio/search.rb,
lib/mio/model/s3.rb,
lib/mio/requests.rb,
lib/mio/migrations.rb,
lib/mio/model/rename.rb,
lib/mio/model/extract.rb,
lib/mio/model/variant.rb,
lib/mio/model/workflow.rb,
lib/mio/model/hotfolder.rb,
lib/mio/model/groovy_script.rb,
lib/mio/model/import_action.rb,
lib/mio/model/workflow/node.rb,
lib/mio/model/account_property.rb,
lib/mio/model/extract_resource.rb,
lib/mio/model/message_template.rb,
lib/mio/model/groovy_script_wait.rb,
lib/mio/model/wait_groovy_script.rb,
lib/mio/model/add_to_group_action.rb,
lib/mio/model/metadata_definition.rb,
lib/mio/model/workflow/transition.rb,
lib/mio/model/email_message_action.rb,
lib/mio/model/groovy_script_decision.rb,
lib/mio/model/launch_workflow_action.rb,
lib/mio/model/metadatadefinition/option.rb,
lib/mio/model/metadatadefinition/definition.rb,
lib/mio/model/launchworkflow/launch_workflow.rb,
lib/mio/model/place_holder_group_asset_action.rb,
lib/mio/model/launchworkflow/workflow_variable.rb
Defined Under Namespace
Modules: Requests Classes: Client, Config, Migrations, Model, Search
Instance Attribute Summary collapse
-
#base_uri ⇒ Object
Returns the value of attribute base_uri.
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
-
#verify_ssl ⇒ Object
Returns the value of attribute verify_ssl.
Instance Method Summary collapse
-
#initialize(base_uri = nil, username = nil, password = nil, verify_ssl = nil) ⇒ Mio
constructor
A new instance of Mio.
Constructor Details
#initialize(base_uri = nil, username = nil, password = nil, verify_ssl = nil) ⇒ Mio
Returns a new instance of Mio.
12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/mio.rb', line 12 def initialize base_uri=nil, username=nil, password=nil, verify_ssl=nil @base_uri = base_uri @username = username @password = password @verify_ssl = verify_ssl if block_given? yield self end @client = Mio::Client.new @base_uri, @username, @password, @verify_ssl end |
Instance Attribute Details
#base_uri ⇒ Object
Returns the value of attribute base_uri.
10 11 12 |
# File 'lib/mio.rb', line 10 def base_uri @base_uri end |
#client ⇒ Object (readonly)
Returns the value of attribute client.
11 12 13 |
# File 'lib/mio.rb', line 11 def client @client end |
#password ⇒ Object
Returns the value of attribute password.
10 11 12 |
# File 'lib/mio.rb', line 10 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
10 11 12 |
# File 'lib/mio.rb', line 10 def username @username end |
#verify_ssl ⇒ Object
Returns the value of attribute verify_ssl.
10 11 12 |
# File 'lib/mio.rb', line 10 def verify_ssl @verify_ssl end |