Class: Whoosh::ClientGen::IR::AppSpec

Inherits:
Struct
  • Object
show all
Defined in:
lib/whoosh/client_gen/ir.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#authObject

Returns the value of attribute auth

Returns:

  • (Object)

    the current value of auth



26
27
28
# File 'lib/whoosh/client_gen/ir.rb', line 26

def auth
  @auth
end

#base_urlObject

Returns the value of attribute base_url

Returns:

  • (Object)

    the current value of base_url



26
27
28
# File 'lib/whoosh/client_gen/ir.rb', line 26

def base_url
  @base_url
end

#resourcesObject

Returns the value of attribute resources

Returns:

  • (Object)

    the current value of resources



26
27
28
# File 'lib/whoosh/client_gen/ir.rb', line 26

def resources
  @resources
end

#streamingObject

Returns the value of attribute streaming

Returns:

  • (Object)

    the current value of streaming



26
27
28
# File 'lib/whoosh/client_gen/ir.rb', line 26

def streaming
  @streaming
end

Instance Method Details

#has_auth?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/whoosh/client_gen/ir.rb', line 31

def has_auth?
  !auth.nil?
end

#has_resources?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/whoosh/client_gen/ir.rb', line 27

def has_resources?
  resources && !resources.empty?
end