Module: Toggl::CustomJsonFormat
- Extended by:
- CustomJsonFormat
- Includes:
- ActiveResource::Formats::JsonFormat
- Included in:
- CustomJsonFormat
- Defined in:
- lib/renuo/cli/app/toggl/detail.rb
Instance Method Summary collapse
-
#decode(json) ⇒ Object
rubocop:enable Style/ModuleFunction.
Instance Method Details
#decode(json) ⇒ Object
rubocop:enable Style/ModuleFunction
13 14 15 |
# File 'lib/renuo/cli/app/toggl/detail.rb', line 13 def decode(json) ActiveSupport::JSON.decode(json)["data"] end |