Sha256: 0238da141ab0ace75b286a6fe7e493b96a54742ce7d76e388ca642a07ad9a505

Contents?: true

Size: 162 Bytes

Versions: 4

Compression:

Stored size: 162 Bytes

Contents

module App::AppError::Json
  extend Waxx::Json
  extend self

  def get(x, title, message)
    x << {ok: false, title: title, message: message}.to_json
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
waxx-0.2.0 skel/app/app/error/json.rb
waxx-0.1.4 skel/app/app/error/json.rb
waxx-0.1.3 skel/app/app/error/json.rb
waxx-0.1.2 skel/app/app/error/json.rb