Class: Locomotive::Coal::Resources::EngineVersion

Inherits:
Base
  • Object
show all
Includes:
Concerns::Request
Defined in:
lib/locomotive/coal/resources/engine_version.rb

Instance Attribute Summary

Attributes inherited from Base

#credentials, #uri

Instance Method Summary collapse

Methods included from Concerns::Request

#delete, #do_request, #get, #post, #put, #without_authentication

Methods inherited from Base

#create, #destroy, #destroy_all, #index, #initialize, #update, #update_with_locale

Constructor Details

This class inherits a constructor from Locomotive::Coal::Resources::Base

Instance Method Details

#versionObject



8
9
10
# File 'lib/locomotive/coal/resources/engine_version.rb', line 8

def version
  get('version', credentials)['engine']
end