Sha256: cef126aaa0b7a68bdeb39b6199d0459102ee9d226fbc0a6b6663c38312bfc246

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

module AnsibleTowerClient
  class JSONValues
    include ValidJSON

    def initialize(vars)
      raise InvalidHash.new(vars) unless vars.kind_of?(Hash)
      @vars = vars
    end

    def extra_vars
      validate(@vars['extra_vars'])
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ansible_tower_client-0.1.0 lib/ansible_tower_client/json_values.rb