Class: Workarea::PingHomeBase::Request
- Inherits:
-
Object
- Object
- Workarea::PingHomeBase::Request
- Defined in:
- lib/workarea/ping_home_base.rb
Constant Summary collapse
- PLUGINS_TO_SKIP =
["Workarea::Storefront", "Workarea::Admin"]
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/workarea/ping_home_base.rb', line 39 def to_h { domain: Workarea.config.host, name: Workarea.config.site_name, version: Workarea::VERSION::STRING, environment: Rails.env, ruby_version: RUBY_VERSION, client_id: client_id, plugins: plugins }.compact end |