Sha256: 2e17c3908b3bf45e5ed5ead887ec1d2e65f66441f17160d8f23c40c5858abbb9

Contents?: true

Size: 304 Bytes

Versions: 13

Compression:

Stored size: 304 Bytes

Contents

module ManageIQ
  module API
    class Client
      class Action
        attr_reader :name
        attr_reader :method
        attr_reader :href

        def initialize(action_hash)
          @name, @method, @href = action_hash.values_at("name", "method", "href")
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
manageiq-api-client-0.6.0 lib/manageiq/api/client/action.rb
manageiq-api-client-0.4.0 lib/manageiq/api/client/action.rb
manageiq-api-client-0.3.7 lib/manageiq/api/client/action.rb
manageiq-api-client-0.3.6 lib/manageiq/api/client/action.rb
manageiq-api-client-0.3.5 lib/manageiq/api/client/action.rb
manageiq-api-client-0.3.4 lib/manageiq/api/client/action.rb
manageiq-api-client-0.3.3 lib/manageiq/api/client/action.rb
manageiq-api-client-0.3.2 lib/manageiq/api/client/action.rb
manageiq-api-client-0.3.1 lib/manageiq/api/client/action.rb
manageiq-api-client-0.3.0 lib/manageiq/api/client/action.rb
manageiq-api-client-0.2.0 lib/manageiq/api/client/action.rb
manageiq-api-client-0.1.1 lib/manageiq/api/client/action.rb
manageiq-api-client-0.1.0 lib/manageiq/api/client/action.rb