Sha256: 47139546b3db03ff9525098258918fcfd44f2064cabe19bfd620ec0b68f6edbb

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

# List all action of user
module Cmd
	class Actions
		@client = Docli.client
		def self.list_all_actions
			return @client.action.all
		end

		def self.retrieve_existing_action action_id
			return @client.actions.find(id: action_id)
		end

	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docli-0.0.2.pre.alpha.pre.15 lib/cmd/actions.rb
docli-0.0.2.pre.alpha.pre.12 lib/cmd/actions.rb