Class: Veye::Github::InfoJSON

Inherits:
BaseJSON
  • Object
show all
Defined in:
lib/veye/views/github/info_json.rb

Instance Method Summary collapse

Methods inherited from BaseJSON

#after, #before, #initialize

Constructor Details

This class inherits a constructor from BaseJSON

Instance Method Details

#format(results) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/veye/views/github/info_json.rb', line 6

def format(results)
  @results[:repo] = results['repo']

  if results.has_key?('imported_projects')
    @results[:projects] = results['imported_projects']
  end
end