Class: SocialSnippet::Registry::RegistryClient

Inherits:
Object
  • Object
show all
Defined in:
lib/social_snippet/registry/registry_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(new_social_snippet) ⇒ RegistryClient


8
9
10
11
# File 'lib/social_snippet/registry/registry_client.rb', line 8

def initialize(new_social_snippet)
  @social_snippet = new_social_snippet
  @repositories = RegistryResources::Repositories.new(social_snippet)
end

Instance Attribute Details

#repositoriesObject (readonly)

Returns the value of attribute repositories


6
7
8
# File 'lib/social_snippet/registry/registry_client.rb', line 6

def repositories
  @repositories
end

#social_snippetObject (readonly)

Returns the value of attribute social_snippet


5
6
7
# File 'lib/social_snippet/registry/registry_client.rb', line 5

def social_snippet
  @social_snippet
end