lib/dingbot.rb in dingbot-0.2.3 vs lib/dingbot.rb in dingbot-0.2.5
- old
+ new
@@ -36,10 +36,10 @@
# Returns an unsorted array of available client methods.
#
# @return [Array<Symbol>]
def self.actions
- hidden = /access_token|post|validate|httparty/
+ hidden = /access_token|post|validate|httparty|secret/
(DingBot::Client.instance_methods - Object.methods).reject {|e| e[hidden]}
end
end