Sha256: 376f4093351e04ad813e8bfbb8c34b0b9a1a5f636c249c48523b5eeff55cee7f
Contents?: true
Size: 593 Bytes
Versions: 4
Compression:
Stored size: 593 Bytes
Contents
# frozen_string_literal: true # Code generated for API Clients. DO NOT EDIT. require 'uri' module NgrokAPI module Models class Ref attr_reader :client, :attrs, :id, :uri def initialize(client: nil, attrs: {}) @client = client @attrs = attrs @id = @attrs['id'] unless @attrs['uri'].nil? @uri = URI(@attrs['uri']) end end def ==(other) @attrs == other.attrs end def to_s @attrs.to_s end def to_h @attrs.to_h end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ngrok-api-0.24.0 | lib/ngrokapi/models/ref.rb |
ngrok-api-0.23.0 | lib/ngrokapi/models/ref.rb |
ngrok-api-0.22.0 | lib/ngrokapi/models/ref.rb |
ngrok-api-0.21.0 | lib/ngrokapi/models/ref.rb |