Class: ProviderKit::Settings::Jsonb

Inherits:
ProviderKit::Settings show all
Defined in:
lib/provider_kit/settings.rb

Instance Attribute Summary

Attributes inherited from ProviderKit::Settings

#data

Instance Method Summary collapse

Methods inherited from ProviderKit::Settings

#[], #[]=, dump, #include?, #initialize, #inspect, load, #method_missing, #respond_to?, #to_h, #update

Constructor Details

This class inherits a constructor from ProviderKit::Settings

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ProviderKit::Settings

Instance Method Details

#to_jsonObject



98
99
100
101
102
# File 'lib/provider_kit/settings.rb', line 98

def to_json
  if data.present?
    data
  end
end