Skip to content

Commit 2e99005

Browse files
committed
[*] NOTICKET: cleanup
1 parent 3c3c59f commit 2e99005

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

lib/api-ai-ruby/client.rb

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
module ApiAiRuby
44
class Client
5-
attr_accessor :client_access_token, :subscription_key, :timeout_options
5+
attr_accessor :client_access_token, :timeout_options
66
attr_writer :user_agent, :api_version, :api_lang, :api_base_url, :api_session_id
77

88
# Initializes a new Client object
9-
#
109
# @param options [Hash]
1110
# @return [ApiAiRuby::Client]
1211
def initialize(options = {})
@@ -66,19 +65,8 @@ def voice_request(file_stream, options = {})
6665
ApiAiRuby::VoiceRequest.new(self, options).perform
6766
end
6867

69-
# @param entity_name [String]
70-
# @param entries [ApiAiRuby:Entry[]]
71-
# @param options [Hash]
72-
73-
def user_entities_request #entity_name, entries, options = {}
68+
def user_entities_request
7469
ApiAiRuby::UserEntitiesRequest.new(self);
75-
# raise ApiAiRuby::ClientError.new('Entity name required') if entity_name.nil?
76-
# raise ApiAiRuby::ClientError.new('Entity entries array required') if !entries.nil? && entries.is_a?(Array)
77-
# raise ApiAiRuby::ClientError.new('Entity name required') if !(options.has_key?(:entries) && options[:entries].is_a?(Array))
78-
# options[:name] = entity_name
79-
# options[:entries] = entries
80-
# options[:extend] = options[:extend] || false
81-
# ApiAiRuby::UserEntitiesRequest.new(self, options).perform
8270
end
8371

8472
end

0 commit comments

Comments
 (0)