lib/tickethub/token.rb in tickethub-0.0.2 vs lib/tickethub/token.rb in tickethub-0.0.3
- old
+ new
@@ -1,7 +1,7 @@
module Tickethub
class Token < Resource
- path '/token', singleton: true
+ path '/token'
def can?(scope)
self.scope.member? scope.to_s
end
end
\ No newline at end of file